* {
  box-sizing: border-box;
}
html,
body {
  padding: 0;
  margin: 0;
}
html {
  overflow: hidden;
  /* 解决于fixed的冲突 */
  perspective: 100px;
  transform-style: preserve-3d;
}

body {
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
  background: url(./images/888.jpg) no-repeat center;
}

/* 头部 */
._navbar {
  position: fixed;
  background-color: black;
  width: 100%;
  padding: 30px 0;
  top: 0;
  z-index: 999;
  transition: 0.3s linear;
}

.inner-width {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
}

._navbar .inner-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  width: 44px;
  height: 32px;
  background-image: url(./images/white-logo.png);
  background-size: contain;
}
.title {
  margin-right: 500px;
  color: #b71540;
}

.navbar-menu2 a {
  text-decoration: none;
  color: black;
  font-size: 15px;
  font-weight: 500;
  margin-left: 30px;
  transition: 0.2s linear;
}
.navbar-menu a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  margin-left: 30px;
  transition: 0.2s linear;
}

.navbar-menu a:hover {
  text-decoration: none;

  color: #b71540;
}

/* 导航栏区域 */
.center_con2 {
  background-color: #f5f5f5;
  width: 1500px;
  height: 600px;
  border-radius: 40px;
  margin: 140px auto;
  border: 1px solid #b7b7b7;
}

/* 左边 */
.sub_menu {
  float: left;
  width: 300px;
  height: 600px;
}

.sub_menu li {
  background-color: black;
  list-style: none;
  width: 300px;
  margin-top: 30px;
  height: 80px;
  border: 1px solid #b7b7b7;
  border-top: 10px;
}

.sub_menu li a {
  color: #f5f5f5;
  font-size: 24px;
  display: block;
  height: 80px;
  line-height: 80px;
  text-indent: 71px;
}
.sub_menu a:hover {
  text-decoration: none;
  color: #b71540;
}
/* 轮播图 */
.slide {
  width: 1120px;
  height: 443px;
  background-color: #f5f5f5;
  margin-top: 40px;

  float: right;
}

.carousel-item img {
  max-width: 100%;
  height: auto;
}
.slide_list {
  position: absolute;
  left: 0;
  top: 0;
  width: 760px;
  height: 270px;
}

.slide_list li {
  width: 760px;
  height: 270px;
  position: absolute;
  left: 0;
  top: 0;
}

/* 图片区域 */
.main {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.list-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* 显示80% */
  height: 75vh;
  overflow: hidden;
}

.list-item:hover .item-image::before {
  background-color: rgba(0, 0, 0, 0.3);
}

.item-image {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* 上拉100px */

  transform: translateZ(-100px) scale(2.4);
}

.item-image::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-text {
  color: #ffffff;
  font-family: "Courier New", Courier, monospace;
  text-align: center;
}

.text-title {
  font-size: 2rem;
  font-weight: bolder;
  margin-bottom: 20px;
}

.text-desc {
  font-size: 1.5rem;
}

/* 热卖单品 */
.all_common {
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
}
.common_model {
  width: 100%;
  /* height: 100%; */
  /* margin: 21px auto 0; */
  background-color: #ffffff;
}
.category-title {
  height: 30px;
  margin: 0 auto 50px;
  max-width: 1000px;
  position: relative;
  text-align: center;
}
.category-title:before {
  background-color: #b7b7b7;
  content: "";
  height: 1px;
  left: 1.5%;
  position: absolute;
  top: 45px;
  width: 97%;
}
.category-title h1 {
  background: none repeat scroll 0 0 #fff;
  display: inline-block;
  zoom: 1;
  height: 30px;
  line-height: 30px;
  margin: 30px auto;
  padding: 0 4%;
  position: relative;
  font-size: 30px;
}

.common_goods_con {
  display: flex;
  width: 100%;
}
.common_goods_list {
  width: 100%;
  height: 300px;
  display: flex;
  padding: 5px;
  justify-content: space-around;
}

.common_goods_list li {
  /* float: left; */
  width: 300px;
  height: 300px;
  list-style: none;
}

.common_goods_list li:hover {
  border: 1px solid #b7b7b7;
}
.common_goods_list img {
  transition: all 0.5s ease;
}
.common_goods_list img:hover {
  transform: scale(1.1);
}
.common_goods_list li h4 {
  height: 52px;
  font: normal 14px/52px "Microsoft Yahei";
  color: #666;
  text-align: center;
}
.common_goods_list li a {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.common_goods_list li div {
  text-align: center;
  font: bold 20px/40px "Microsoft Yahei";
  color: #c40000;
  margin-top: 22px;
}

/* 底部 */
.attention {
  height: 700px;
}
.information {
  background: #1c1c1c;
  width: 100%;
  height: 268px;
  color: #fff;
  text-align: center;
}
.information h1 {
  font-size: 30px;
  margin: 78px auto 35px;
  display: inline-block;
}
.information p {
  font-size: 16px;
  line-height: 24px;
}



/* 聊天室 */


@font-face {
  font-family: 'iconfont';
  src: url('//at.alicdn.com/t/font_2620127_zeta357603p.woff2?t=1624072496175') format('woff2'),
  url('//at.alicdn.com/t/font_2620127_zeta357603p.woff?t=1624072496175') format('woff'),
  url('//at.alicdn.com/t/font_2620127_zeta357603p.ttf?t=1624072496175') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 25px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

.icon {
  position: absolute;
  right: 0;
}

.icon2 {
  height: 30px;
  float: left;
}

.icon2 span {
  margin: 20px;
  font-size: 18px;
}

.title2 {
  height: 65px;
  background-color: #F5F5F5;
  border-bottom: 1px solid #E7E7E7;
  position: relative;

}

.title2 span {
  margin: 18px;
  float: left;
  font-size: 18px;
}

.title2 span:hover {
  cursor: pointer;
}

.talk_con {
  overflow: hidden;
  border-radius: 20px;
  width: 650px;
  height: 720px;
  border: 1px solid #D9D9D9;
  margin: 50px auto 0;
  background: #FFFFFF;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  display: none;
  /* box-shadow:  2px 2px 2px #888888; */
}

.talk_show {
  width: 640px;
  /* max-height: 480px; */
  height: 480px;
  border-bottom: 1px solid #D6D6D6;
  background: #fff;
  margin: 0 auto 0;
  overflow: auto;
  position: relative;
  background-color: #F5F5F5;
}

/* 输入外整个容器 */
.talk_input {
  width: 700px;
  margin: 10px auto 0;
  overflow: hidden;

}
/* 输入 */
.talk_word {
  width: 700px;
  padding: 0px;
  float: left;
  outline: none;
  text-indent: 10px;
  border: 0;
}

.talk_sub {
  float: left;
  font-size: 14px;
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.talk_con ul {
  /* 消除点 */
  padding: 2px;
}

.talk_con li {
  background: #ccc;
  float: left;
  line-height: 30px;
  height: auto;
  border-radius: 10px;
  clear: both;
  padding: 5px 10px;
  margin: 6px;

}

.btalk {
  background: #58bc58 !important;
  color: #fff;
  float: right !important;
}

.status {
  position: absolute;
  top: 20px;
  left: 200px;
  text-align: center;
  color: black;
  display: none;
  z-index: 999;
}
